#include <iostream>
#include "MyCircularQueue.h"
using namespace std;
int main() {
    MyCircularQueue q = MyCircularQueue(3);
    cout<<"enQueue:1"<<boolalpha<<q.enQueue(1)<<endl;
    cout<<"enQueue:2"<<boolalpha<<q.enQueue(2)<<endl;
    cout<<"enQueue:3"<<boolalpha<<q.enQueue(3)<<endl;
    cout<<"enQueue:4"<<q.enQueue(4)<<endl;
    cout<<"Rear:"<<q.Rear()<<endl;
    cout<<"isFull: "<<q.isFull()<<endl;
    cout<<"deQueue:"<<boolalpha<<q.deQueue()<<endl;
    cout<<"enQueue:4"<<boolalpha<<q.enQueue(4)<<endl;
    cout<<"Rear:"<<q.Rear()<<endl;


    return 0;
}
